# D:\Python1\012\08-正负索引值混合切片.py
num = "123456789"
print(num[5:-1]) # 678
